package linklist;

import lombok.Data;
import lombok.ToString;

/**
 * 单链表节点
 */
@Data
@ToString
public class SingleNode {
    private int data;
    private SingleNode next;

    public SingleNode(){

    }

    public SingleNode(int data) {
        this.data = data;
    }
}
